LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GetDC and BitBlt in Labview C DLL

//The most easy solution is to startup your C compiler and write some wrapper DLL ... 

 

That is exactly what I am trying to avoid, LabVIEW getting better and better, so if it can be done in LabVIEW - better be done in LabVIEW.

No comments on attachment?  

 

Thanks for your help,

Artur 

 

P.S. - if you go about optimizing Windows screen drawing ... actually not Windows but LabVIEW adding dynamic icons for menus and trees.

But to populate native LabVIEW tree (i.e. controls with symbols) you need "image data" structure instead of pointer. If I do all in .net then capturing events would be another project and so on... you know.

So for compatibility and smooth transition from version to version (LabVIEW) better be on native side 🙂

 

Message Edited by GriffinRU on 03-08-2010 07:02 AM
Message Edited by GriffinRU on 03-08-2010 07:03 AM
0 Kudos
Message 31 of 35
(1,252 Views)

GriffinRU wrote:

//The most easy solution is to startup your C compiler and write some wrapper DLL ... 

 

That is exactly what I am trying to avoid, LabVIEW getting better and better, so if it can be done in LabVIEW - better be done in LabVIEW.



Use for everything the right tool. You can thrive a nail with a screw driver but it will be not elegant, efficient nor smart.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 32 of 35
(1,244 Views)
While it could be done completely in LabVIEW, I'm not going to bother to explain how. It is simply ugly, needlessly inefficient and in fact a pain for future maintenance for instance when moving to 64 bit Windows. So stick to your hammer for thriving nails and to a screw driver for screws.
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 33 of 35
(1,231 Views)

Are you 100% confident that it would be "simply ugly, needlessly inefficient and in fact a pain for future maintenance for instance when moving to 64 bit Windows."?

 

It takes almost nothing in C to obtain what I am looking for...

 

And , I would be more than happy to check any "ugly" version as well 🙂

 

-Artur

0 Kudos
Message 34 of 35
(1,224 Views)

GriffinRU wrote:

Are you 100% confident that it would be "simply ugly, needlessly inefficient and in fact a pain for future maintenance for instance when moving to 64 bit Windows."?

 

It takes almost nothing in C to obtain what I am looking for...

 

And , I would be more than happy to check any "ugly" version as well 🙂

 

-Artur


I'm not taking the bait, and you just admitted that going with a wrapper DLL is almost nothing! So why trying to wrnech a window open to enter a house when the door is open?

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 35 of 35
(1,223 Views)