Click here to Skip to main content
15,901,122 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: DataGridView Cell (WinForms). Pin
dan!sh 16-Jan-09 5:38
professional dan!sh 16-Jan-09 5:38 
GeneralRe: DataGridView Cell (WinForms). Pin
Incvisitor16-Jan-09 5:42
Incvisitor16-Jan-09 5:42 
GeneralRe: DataGridView Cell (WinForms). Pin
dan!sh 16-Jan-09 5:49
professional dan!sh 16-Jan-09 5:49 
GeneralRe: DataGridView Cell (WinForms). [modified] Pin
Incvisitor16-Jan-09 6:07
Incvisitor16-Jan-09 6:07 
AnswerRe: DataGridView Cell (WinForms). Pin
Incvisitor16-Jan-09 22:54
Incvisitor16-Jan-09 22:54 
Questionimg color depth on tabPage not OK Pin
Member 141446314-Jan-09 20:01
Member 141446314-Jan-09 20:01 
QuestionXP environment running assembly Pin
BobMMarley13-Jan-09 1:41
BobMMarley13-Jan-09 1:41 
GeneralRe: XP environment running assembly Pin
Luc Pattyn16-Jan-09 7:17
sitebuilderLuc Pattyn16-Jan-09 7:17 
Hi,

assembly code is not beginner's stuff, and doing it under the wings of an Operating System that is supposed to protect everything makes it even more challenging.

It is still unclear to me what your overall intentions are. Knowing so might help everyone in providing adequate replies.

Here are some pointers anyway:

1.
Putting assembly code (that is CPU instructions) on the stack is a very bad idea. What you can do
is allocate a memory buffer of sufficient size, fill it with a valid sequence of instructions,
then jump to it from within your higher-level language (e.g. a C program).

2.
It is easier to call assembly in an unmanaged environment (as in C or C++/MFC) as opposed to a
managed environment (.NET, C#, ...).

3.
To make it fit in a high-level program, the skeleton of your assembly code should best be identical to
what a compiler in your environment generates for an (almost) empty function.

4.
I strongly suggest you study the code your compiler generates for lots of test cases; turn off
optimization as much as possible (so you can recognize the instructions corresponding to each
high-level statement).

5.
Whatever your final intentions are, start with easy functions; executing a NOP instruction does not qualify since you can hardly judge it. When experimenting with some new interface (e.g. P/Invoke) my typical first functions are: square an int, add two ints, calculate the length of a string, etc.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

I use ListBoxes for line-oriented text output (not TextBoxes), and PictureBoxes for pictures (not drawings).


QuestionIronspeed for winforms application? Pin
Jan198212-Jan-09 22:41
Jan198212-Jan-09 22:41 
AnswerRe: Ironspeed for winforms application? Pin
Eddy Vluggen16-Jan-09 4:15
professionalEddy Vluggen16-Jan-09 4:15 
GeneralRe: Ironspeed for winforms application? Pin
Peter Radvolution28-Jun-12 5:10
Peter Radvolution28-Jun-12 5:10 
AnswerRe: Ironspeed for winforms application? Pin
Reza Raad18-Jan-09 10:49
Reza Raad18-Jan-09 10:49 
GeneralRe: Ironspeed for winforms application? Pin
Eddy Vluggen20-Jan-09 2:00
professionalEddy Vluggen20-Jan-09 2:00 
QuestionHow to get query from report ?? [modified] Pin
bhaumikdv12-Jan-09 17:15
bhaumikdv12-Jan-09 17:15 
AnswerRe: How to get query from report ?? Pin
Not Active12-Jan-09 17:24
mentorNot Active12-Jan-09 17:24 
GeneralRe: How to get query from report ?? Pin
bhaumikdv12-Jan-09 17:27
bhaumikdv12-Jan-09 17:27 
GeneralRe: How to get query from report ?? Pin
Luc Pattyn12-Jan-09 18:27
sitebuilderLuc Pattyn12-Jan-09 18:27 
GeneralRe: How to get query from report ?? Pin
Not Active12-Jan-09 18:32
mentorNot Active12-Jan-09 18:32 
GeneralRe: How to get query from report ?? Pin
Luc Pattyn12-Jan-09 18:53
sitebuilderLuc Pattyn12-Jan-09 18:53 
Questionsorting an xml file with a specified letter Pin
PAVANKUMAR12345612-Jan-09 2:32
PAVANKUMAR12345612-Jan-09 2:32 
AnswerRe: sorting an xml file with a specified letter Pin
EliottA12-Jan-09 2:41
EliottA12-Jan-09 2:41 
GeneralRe: sorting an xml file with a specified letter Pin
jagank2117-Jan-09 3:34
jagank2117-Jan-09 3:34 
Questionsorting an xml file with a specified letter Pin
PAVANKUMAR12345612-Jan-09 2:24
PAVANKUMAR12345612-Jan-09 2:24 
QuestionInstal project without computer name change Pin
Any_India11-Jan-09 18:10
Any_India11-Jan-09 18:10 
AnswerRe: Instal project without computer name change Pin
Reza Raad13-Jan-09 3:04
Reza Raad13-Jan-09 3:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.