My first piece of advice is write as much of the application as you can as a Windows application. Writing code from scratch is much easier in this environment.
If you have either the Standard and Professional Editions of Visual Studio, you can attach your code to the Enterprise process and debug the code.
I understand what you mean, but I can't write a windows application
because i must connect a datacard field to an EPDM serial number
generated by my dll.
I found a solution in Knowledge base (S-043058),
but i'm not able to use it in my environment (W7 64).